[INFO] cloning repository https://github.com/ChainThemAll/err_code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChainThemAll/err_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44f2efb1b62710f145462181ba8d8c8fbee35e75
[INFO] testing ChainThemAll/err_code against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChainThemAll%2Ferr_code" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ChainThemAll/err_code
[INFO] finished tweaking git repo https://github.com/ChainThemAll/err_code
[INFO] tweaked toml for git repo https://github.com/ChainThemAll/err_code written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ChainThemAll/err_code on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ChainThemAll/err_code already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cfe35813a3d2ced16e0708bf82cbf6d67d717b3c8696e863a8e7287b4b467434
[INFO] running `Command { std: "docker" "start" "-a" "cfe35813a3d2ced16e0708bf82cbf6d67d717b3c8696e863a8e7287b4b467434", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cfe35813a3d2ced16e0708bf82cbf6d67d717b3c8696e863a8e7287b4b467434", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfe35813a3d2ced16e0708bf82cbf6d67d717b3c8696e863a8e7287b4b467434", kill_on_drop: false }`
[INFO] [stdout] cfe35813a3d2ced16e0708bf82cbf6d67d717b3c8696e863a8e7287b4b467434
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e08406145e9793c6e5a294dd0ea680e67627dbd6541cbd149247fc752e94c8b
[INFO] running `Command { std: "docker" "start" "-a" "3e08406145e9793c6e5a294dd0ea680e67627dbd6541cbd149247fc752e94c8b", kill_on_drop: false }`
[INFO] [stderr]    Compiling err_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "3e08406145e9793c6e5a294dd0ea680e67627dbd6541cbd149247fc752e94c8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e08406145e9793c6e5a294dd0ea680e67627dbd6541cbd149247fc752e94c8b", kill_on_drop: false }`
[INFO] [stdout] 3e08406145e9793c6e5a294dd0ea680e67627dbd6541cbd149247fc752e94c8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 09da1c7ac3cd8d2de84f103b9d828e96c61183e4a715576fd15f274b2ab0eb56
[INFO] running `Command { std: "docker" "start" "-a" "09da1c7ac3cd8d2de84f103b9d828e96c61183e4a715576fd15f274b2ab0eb56", kill_on_drop: false }`
[INFO] [stderr]    Compiling err_code v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "09da1c7ac3cd8d2de84f103b9d828e96c61183e4a715576fd15f274b2ab0eb56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09da1c7ac3cd8d2de84f103b9d828e96c61183e4a715576fd15f274b2ab0eb56", kill_on_drop: false }`
[INFO] [stdout] 09da1c7ac3cd8d2de84f103b9d828e96c61183e4a715576fd15f274b2ab0eb56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bb9f1b70de31ca0b4a170f448ba2bf315b890c419f54ccc1f59c40598df7fcca
[INFO] running `Command { std: "docker" "start" "-a" "bb9f1b70de31ca0b4a170f448ba2bf315b890c419f54ccc1f59c40598df7fcca", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/err_code-518465a7e4d74a87)
[INFO] [stderr]    Doc-tests err_code
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - (line 109) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... ok
[INFO] [stdout] test src/lib.rs - derive_error_code (line 210) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 137) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 109) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]    --> src/lib.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | use thiserror::Error;
[INFO] [stdout]     |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 |     #[error("Invalid input: {0}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:122:7
[INFO] [stdout]     |
[INFO] [stdout] 122 |     #[error("Resource not found: {name}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |     #[error(transparent)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]    --> src/lib.rs:127:15
[INFO] [stdout]     |
[INFO] [stdout] 127 |     IoError(#[from] IoError), // Uses default error code
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 90) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:91:14
[INFO] [stdout]    |
[INFO] [stdout] 91 | let error1 = MyError::InvalidInput;
[INFO] [stdout]    |              ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | let error2 = MyError::NotFound;
[INFO] [stdout]    |              ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_error_code (line 210) stdout ----
[INFO] [stdout] error: cannot find derive macro `ErrorCode` in this scope
[INFO] [stdout]    --> src/lib.rs:211:10
[INFO] [stdout]     |
[INFO] [stdout] 211 | #[derive(ErrorCode)]
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]     |
[INFO] [stdout] 210 + use err_code::ErrorCode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:212:3
[INFO] [stdout]     |
[INFO] [stdout] 212 | #[error_code(type = "u16", default = 300)]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:214:7
[INFO] [stdout]     |
[INFO] [stdout] 214 |     #[error_code(100)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/lib.rs:216:7
[INFO] [stdout]     |
[INFO] [stdout] 216 |     #[error_code(200)]
[INFO] [stdout]     |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 137) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]    --> src/lib.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 | let error = MyError::InvalidInput("test".to_string());
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `IoError` in this scope
[INFO] [stdout]    --> src/lib.rs:142:16
[INFO] [stdout]     |
[INFO] [stdout] 142 | let io_error = IoError::new(std::io::ErrorKind::Other, "io failure");
[INFO] [stdout]     |                ^^^^^^^ use of undeclared type `IoError`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]    --> src/lib.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 | let error = MyError::IoError(io_error);
[INFO] [stdout]     |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 45) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `MyError` in this scope
[INFO] [stdout]   --> src/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | let error = MyError::InvalidInput;
[INFO] [stdout]    |             ^^^^^^^ use of undeclared type `MyError`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 109)
[INFO] [stdout]     src/lib.rs - (line 137)
[INFO] [stdout]     src/lib.rs - (line 45)
[INFO] [stdout]     src/lib.rs - (line 90)
[INFO] [stdout]     src/lib.rs - derive_error_code (line 210)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bb9f1b70de31ca0b4a170f448ba2bf315b890c419f54ccc1f59c40598df7fcca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb9f1b70de31ca0b4a170f448ba2bf315b890c419f54ccc1f59c40598df7fcca", kill_on_drop: false }`
[INFO] [stdout] bb9f1b70de31ca0b4a170f448ba2bf315b890c419f54ccc1f59c40598df7fcca
